package com.ghoul.dubbo.provider.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.ghoul.dubbo.api.test.HelloService;
import org.springframework.stereotype.Component;

/**
 * @author wujj
 * @version 1.0
 * @Description:
 * @date 2019年02月25日 13:25
 */
@Component
@Service(interfaceClass = HelloService.class)
public class HelloServiceImpl implements HelloService {

    @Override
    public String sayHello(String name) {
        System.out.println("hello,"+name);

        return "Hello" + name;
    }
}
